package tech.aistar.entity;

public class Completion {
    private Long comId;

    private String comStem;

    private String comAnswer;

    private String comExplain;

    private String comLanguage;

    private String comDiff;

    private Long comCount;

    private Long comRight;

    public Completion() {
    }

    public Completion(String comStem, String comAnswer, String comExplain, String comLanguage, String comDiff, Long comCount, Long comRight) {
        this.comStem = comStem;
        this.comAnswer = comAnswer;
        this.comExplain = comExplain;
        this.comLanguage = comLanguage;
        this.comDiff = comDiff;
        this.comCount = comCount;
        this.comRight = comRight;
    }

    public Long getComId() {
        return comId;
    }

    public void setComId(Long comId) {
        this.comId = comId;
    }

    public String getComStem() {
        return comStem;
    }

    public void setComStem(String comStem) {
        this.comStem = comStem == null ? null : comStem.trim();
    }

    public String getComAnswer() {
        return comAnswer;
    }

    public void setComAnswer(String comAnswer) {
        this.comAnswer = comAnswer == null ? null : comAnswer.trim();
    }

    public String getComExplain() {
        return comExplain;
    }

    public void setComExplain(String comExplain) {
        this.comExplain = comExplain == null ? null : comExplain.trim();
    }

    public String getComLanguage() {
        return comLanguage;
    }

    public void setComLanguage(String comLanguage) {
        this.comLanguage = comLanguage == null ? null : comLanguage.trim();
    }

    public String getComDiff() {
        return comDiff;
    }

    public void setComDiff(String comDiff) {
        this.comDiff = comDiff == null ? null : comDiff.trim();
    }

    public Long getComCount() {
        return comCount;
    }

    public void setComCount(Long comCount) {
        this.comCount = comCount;
    }

    public Long getComRight() {
        return comRight;
    }

    public void setComRight(Long comRight) {
        this.comRight = comRight;
    }

    @Override
    public String toString() {

        final StringBuilder sb = new StringBuilder("Completion{");

        sb.append("comId=").append(comId);
        sb.append(", comStem='").append(comStem).append('\'');
        sb.append(", comAnswer='").append(comAnswer).append('\'');
        sb.append(", comExplain='").append(comExplain).append('\'');
        sb.append(", comLanguage='").append(comLanguage).append('\'');
        sb.append(", comDiff='").append(comDiff).append('\'');
        sb.append(", comCount=").append(comCount);
        sb.append(", comRight=").append(comRight);
        sb.append('}');
        return sb.toString();
    }
}